package com.demo.my.shop.web.admin.dao;

import com.demo.my.shop.domain.TbUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbUserDao {

    List<TbUser> selectAll();

    void insert(TbUser tbUser);

    TbUser getByEmail(String email);
}

